package xyz.zhouzhaodong.crm.service;

import xyz.zhouzhaodong.crm.dto.InvoicesControlDto;
import xyz.zhouzhaodong.crm.entity.InvoicesControl;
import xyz.zhouzhaodong.crm.entity.InvoicesControl;
import com.baomidou.mybatisplus.extension.service.IService;
import xyz.zhouzhaodong.crm.util.RestMessage;

/**
 * <p>
 * 发票管理 服务类
 * </p>
 *
 * @author zhouzhaodong
 * @since 2020-07-03
 */
public interface IInvoicesControlService extends IService<InvoicesControl> {

    /**
     * 新增发票管理
     * @param invoicesControl
     * @return
     */
    RestMessage addInvoicesControl(InvoicesControl invoicesControl);

    /**
     * 删除发票管理
     * @param invoicesControl
     * @return
     */
    RestMessage deleteInvoicesControl(InvoicesControl invoicesControl);

    /**
     * 修改发票管理
     * @param invoicesControl
     * @return
     */
    RestMessage updateInvoicesControl(InvoicesControl invoicesControl);

    /**
     * 查询发票管理
     * @param invoicesControlDto
     * @return
     */
    RestMessage selectInvoicesControl(InvoicesControlDto invoicesControlDto);

}
